// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import cookie from 'vue-cookie'
import ViewUI from 'view-design'
import VueParticles from 'vue-particles'
import 'view-design/dist/styles/iview.css'
import CommonVar from '@/components/CommonVar'
Vue.config.productionTip = false
Vue.use(ViewUI)
Vue.use(VueParticles)

Vue.prototype.$cookies = cookie
Vue.prototype.$axios = axios
Vue.prototype.$CommonVar = CommonVar
Vue.prototype.$imageURL = 'https://www.zjy9951.site/static/'
axios.defaults.baseURL = 'https://www.zjy9951.site/bbs/api'
// axios.defaults.baseURL = 'http://localhost:18080/bbs/api'
// Vue.prototype.$imageURL = 'C:\\Users\\zjy\\Desktop\\test2\\'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
